<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>项目管理系统</title>
		<link href="static/bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet"></link>
	</head>
	<body class="body">
		<%@ include file="top.jsp"%>
		<div class="container">
			<div class="row" style="padding:60px">
				<div class="span9">
					<form   action="idea.jspx?m=update&&id=${requestScope.idea.id} "  method="post">
						<fieldset>
							<legend>更改想法</legend>
							<c:if test="${param.code == 1001 }">
								  <div class="alert alert-error">
								<button class="close" data-dismiss="alert" type="button">×</button>
								  	所填信息不够完整
						    	</div>
							</c:if>
							<div class="control-group">
								<label class="control-label" for="input01">标题</label>
								<div class="controls">
									<input id="input01" type="text" name="title" value="${requestScope.idea.title}" x-webkit-speech="undefined" class="span9">
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="input01">简介</label>
								<div class="controls">
									<textarea id=""  name="describe" rows="3" name=""class="span9">${requestScope.idea.describe}</textarea>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="input01">内容</label>
								<div class="controls">
									<textarea id=""  rows="15" name="content" class="span9">${requestScope.idea.content}</textarea>
								</div>
							</div>
							<div class="form-actions">
								<button class="btn btn-primary" type="submit">保存</button>
								<a class="btn" href="idea.jspx?m=">返回</a>
							</div>
						</fieldset>
					</form>
				</div>
			</div>
		</div>
		<script type="text/javascript" src="static/jquery/jquery.js"></script>
   		<script type="text/javascript" src="static/bootstrap/js/bootstrap.min.js"></script>
	</body>
</html>
